﻿using Abp.Application.Services;
using FwProject.Com.Dto;
using FwProject.ShopApplication;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace FwProject.Com
{
    public interface IRegionAppService: IApplicationService
    {
        Task GenerateAsync();

        Task<LayerDataBaseDto> GetPagedListAsync(string parentid, string keyword);

        Task<RegionDto> GetEntityAsync(string id);

        Task<List<string>> GetParentNamesAsync(string id);

        Task<string> CreateAsync(RegionEnterDto input);

        Task ModifyAsync(string id, RegionEnterDto input);

        Task DeleteAsync(string id);
        /// <summary>
        /// 获取所有的地域数据
        /// </summary>
        /// <returns></returns>
        List<RegionDto> GetAllRegion();
    }
}
